// 基础路由
export default [
    {
        path: '/',
        redirect: '/dashboard'
    },
    {
        path: '/home',
        name: 'Home',
        component: () => import(/* webpackChunkName: "about" */ '@/layout'),
        meta: { title: '首页', icon: 'el-icon-eleme' },
        children: [
            {
                path: '/dashboard',
                name: 'dashboard',
                component: () => import('@/views/dashboard'),
                meta: { title: '系统首页', icon: 'el-icon-s-platform' },
            }
        ]
    },
    {
        path: '/login',
        name: 'login',
        component: () => import(/* webpackChunkName: "about" */ '@/components/logcard/index.vue'),
        meta: {
            title: '登录', icon: 'el-icon-s-promotion'
        }
    },
    {
        path: '*',
        redirect: '/wrongrouter',
    }, {
        path: '/wrongrouter',
        name: "wrongrouter",
        component: () => import(/* webpackChunkName: "about" */ '@/components/wrongrouter')
    }
]